package com.freedom.common.core.base;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
public class BaseIntForm {

    @NotEmpty(message = "id不能为空")
    private Integer id;

    public BaseIntForm(Integer id) {
        this.id = id;
    }
}
